package com.scidpro;

import android.content.Context;
import android.util.AttributeSet;
import android.widget.SeekBar;

public class TimeDelayPreference extends SeekBarPreference {

	public TimeDelayPreference(Context context, AttributeSet attrs) {
		super(context, attrs);

	}

	public void onProgressChanged(SeekBar seek, int value, boolean fromTouch) {
		String t = String.valueOf(value);
		mValueText.setText(t + " " + (value == 1 ? "second" : "seconds"));
		mValue = value;
	}

}
